package com.gpnu7_412.yanzhi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author ZZH
 */
@SpringBootApplication
@EnableTransactionManagement
@ServletComponentScan
//@EntityScan("com.gpnu7_412.yanzhi.entity")
@MapperScan("com.gpnu7_412.yanzhi.mapper")
public class YanzhiApplication {

    public static void main(String[] args) {
        SpringApplication.run(YanzhiApplication.class, args);
    }

}
